Part Number Hot Search : 
LC503 00818 3EDXXX ML2031 00818 MPC185TD KA3882D 25L20
Product Description
Full Text Search
 

To Download DS14285 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  1 of 26 rev: 112105 features direct replacement for ibm at computer clock/calendar functionally compatible with the ds1285/ds1287 available as chip (DS14285, DS14285s, or DS14285q) or stand-alone module with embedded lithium battery and crystal (ds14287) automatic backup supply and write protection to make external sram nonvolatile counts seconds, minutes, hours, days, day of the week, date, month, and year with leap year compensation valid up to 2100 binary or bcd representation of time, calendar, and alarm 12- or 24-hour clock with am and pm in 12-hour mode daylight saving time option multiplex bus for pin efficiency interfaced with software as 128 ram locations 14 bytes of clock and control registers 114 bytes of general purpose ram programmable square-wave output signal bus-compatible interrupt signals ( irq ) three interrupts are separately software- maskable and testable time-of-day alarm once/second to once/day periodic rates from 122 s to 500ms end of clock update cycle optional industrial temperature version available: DS14285 dip, so, and plcc pin configurations DS14285/ds14287 real-time clock with nv ram control control www.maxim-ic.com plcc ad0 ad1 ad2 ad3 ad4 ad5 cei v bat irq reset ds gnd n.c. r/w x2 x1 mot vcco vcc sqw ce0 ad6 n.c. ad7 gnd cs as n.c. 25 24 23 22 21 20 19 5 6 7 8 9 10 11 4 3 2 1 28 27 26 12 13 14 15 16 17 18 23 n.c. ad1 ad3 ad4 ad5 ad6 ad7 gnd v cc sqw ceo cei n.c. irq reset ds n.c. r/w a s cs 1 2 3 4 5 6 7 8 9 10 11 12 24 22 21 20 19 18 17 16 15 14 13 n.c. ad0 ad2 v cco encapsulated package ds14287 DS14285 dip/so 23 x2 ad1 ad3 ad4 ad5 ad6 ad7 gnd v cc cei v bat i r q r eset ds gnd r/w a s cs 1 2 3 4 5 6 7 8 9 10 11 12 24 22 21 20 19 18 17 16 15 14 13 x1 ad0 ad2 sqw ceo v cco DS14285 top view
DS14285/ds14287 2 of 26 ordering information part temp range voltage (v) pin-package top mark* DS14285 0 c to +70 c 5.0 24 dip (0.600 ) DS14285 DS14285+ 0 c to +70 c 5.0 24 dip (0.600 ) DS14285 DS14285n -40 c to +85 c 5.0 24 dip (0.600 ) DS14285n DS14285n+ -40 c to +85 c 5.0 24 dip (0.600 ) DS14285n DS14285q 0 c to +70 c 5.0 28 plcc DS14285q DS14285q+ 0 c to +70 c 5.0 28 plcc DS14285q DS14285qn -40 c to +85 c 5.0 28 plcc DS14285qn DS14285qn+ -40 c to +85 c 5.0 28 plcc DS14285qn DS14285s 0 c to +70 c 5.0 24 so (0.300 ) DS14285s DS14285s+ 0 c to +70 c 5.0 24 so (0.300 ) DS14285s DS14285sn -40 c to +85 c 5.0 24 so (0.300 ) DS14285sn DS14285sn+ -40 c to +85 c 5.0 24 so (0.300 ) DS14285sn DS14285sn/t&r -40 c to +85 c 5.0 24 so (0.300 )/tape & reel DS14285sn DS14285sn+t&r -40 c to +85 c 5.0 24 so (0.300 )/tape & reel DS14285sn DS14285s/t&r 0 c to +70 c 5.0 24 so (0.300 )/tape & reel DS14285s DS14285s+t&r 0 c to +70 c 5.0 24 so (0.300 )/tape & reel DS14285s ds14287 0 c to +70 c 5.0 24 edip (0.740 ) ds14287 ds14287+ 0 c to +70 c 5.0 24 edip (0.740 ) ds14287 + denotes a lead-free/rohs-compliant device. * a ?+? anywhere on the top mark denotes a lead- free/rohs-compliant device. an ?n? denotes an industrial temperature grade device . pin description ad0-ad7 - multiplexed address/data bus nc - no connection mot - bus type select (DS14285q only) cs - chip select as - address strobe r/ w - read/write input ds - data strobe reset - reset input irq - interrupt request output sqw - square wave output v cc - +5v supply gnd - ground v cco - ram power supply output cei - ram chip enable in ceo - ram chip enable out x1, x2 - 32.768 khz crystal connections v bat - +3v battery input
DS14285/ds14287 3 of 26 detailed description the DS14285/ds14287 real time cloc k with nvram control provides the industry standard ds1287 clock function with the additiona l feature of providing nonvolatile control for an external sram. functions include a nonvolatile time -of-day clock, alarm, 100-year ca lendar, programmable interrupt, square wave generator, and 114 bytes of nonvolat ile static ram. for the ds14287 a lithium energy source, quartz crystal, and write pr otection circuitry are contained with in a 24-pin dual in-line package. the DS14285 requires an external quartz crystal connected to the x1 and x2 pins as well as an external energy source connected to the v bat pin. a standard 32.768 khz quartz cr ystal can be dire ctly connected to the DS14285 via pins 1 and 2 (x1, x2). the crysta l selected for use should have a specified load capacitance (c l ) of 6 pf. for more information on crystal selection and crystal layout considerations, please consult applicatio n note 58, ?crystal considerations with dallas real-time clocks.? the DS14285/ds14287 uses its backup energy source and ba ttery-backup controller to make a standard cmos static ram nonvolatile du ring power-fail conditions. duri ng power fail, the DS14285/ds14287 automatically write-protects the external sram and provides a v cc output sourced from its internal battery. for the ds14287 the internal lithium cell is electri cally isolated from the clock and memory when shipped from the factory. this isolation is removed after the first application of v cc, allowing the lithium cell to provide data retention to the clock, internal ram, v cco and ceo on subsequent power-downs. care must be taken after this isolation has been br oken to avoid inadvertently discharging the lithium cell through the v cco and ceo pins. operation the block diagram in figure 1 shows the pin connec tions with the major internal functions of the DS14285/ds14287. the following paragraphs de scribe the function of each pin. signal descriptions gnd, v cc - dc power is provided to the device on these pins. v cc is the +5 volt input. sqw (square wave output) - the sqw pin can output a signal from one of 13 taps provided by the 15 internal divider stages of the real time clock. the frequency of the sqw pin can be changed by programming register a as shown in table 1. the sq w signal can be turned on and off using the sqwe bit in register b. the sqw signal is not available when v cc is less than 4.25 volts typical. ad0-ad7 (multiplexed bi-directional address/data bus) - multiplexed buses save pins because address information and data information time-share the same signal paths. the addresses are present during the first portion of the bus cycle and the same pi ns and signal paths are used for data in the second portion of the cycle. address/data multiplexing does not slow the access time of the DS14285/ds14287 since the bus change from address to data occurs during the internal ram access time. addresses must be valid prior to the falling edge of as/ale, at which time the DS14285/ds14287 latches the address from ad0 to ad6. valid write data must be present and held stable during the la tter portion of the ds or wr pulses. in a read cycle the DS14285/d s14287 outputs 8 bits of data during the latter portion of the ds or rd pulses. the read cycle is terminated and the bus returns to a high impedance state as ds transitions low in the case of motorola timing or as rd transitions high in th e case of intel timing.
DS14285/ds14287 4 of 26 mot (mode select) - the mot pin offers the flexibility to choose between to bus types. when connected to v cc , motorola bus timing is selected. when c onnected to gnd or left disconnected, intel bus timing is selected. the pin has an intern al pull-down resistance of approximately 20 k ? . this pin is on the DS14285q only. as (address strobe input) - a positive going address strobe pulse serves to demultiplex the bus. the falling edge of as/ale cau ses the address to be la tched within the DS14285/ds14287. ds (data strobe or read input) - for the DS14285q the ds/ rd pin has two modes of operation depending on the level of the mot pin. when the mot pin is connected to v cc , motorola bus timing is selected. in this mode ds is a positive pulse during th e latter portion of the bus cycle and is called data strobe. during read cycles, ds signifies the time th at the DS14285q is to drive the bidirectional bus. in write cycles the trailing e dge of ds causes the DS14285q to latch the written data. when the mot pin is connected to gnd, intel bus timing is selecte d. in this mode the ds pin is called read( rd ). rd identifies the time period when the DS14285q drives the bus with read data. the rd signal is the same definition as the output enable ( oe ) signal on a typical memory. the DS14285, DS14285s and ds14287 do not have a mot pin and therefore operate only in intel bus timing mode. r/ w (read/write input) - the r/ w pin also has two modes of operation. when the mot pin is connected to v cc for motorola timing, r/ w is at a level which indicates whether the current cycle is a read or write. a read cycle is indicated with a high level on r/ w while ds is high. a write cycle is indicated when r/ w is low during ds. when the mot pin is connected to gnd for intel timing, the r/ w signal is an active low signal called wr . in this mode the r/ w pin has the same meaning as the write enable signal ( we ) on generic rams. cs (chip select input) - the chip select signal must be asserted low for a bus cycle in the DS14285/ds14287 to be accessed. cs must be kept in the active st ate during ds for motorola timing and during rd and wr for intel timing. bus cycles whic h take place without asserting cs will latch addresses but no access will occur. when v cc is below 4.25 volts, th e DS14285/ds14287 internally inhibits access cycles by internally disabling the cs input. this action protects both the real time clock data and ram data during power outages. irq (interrupt request output) - the irq pin is an active low out put of the DS14285/ds14287 that can be used as an interrupt input to a processor. the irq output remains low as long as the status bit causing the interrupt is present and the correspo nding interrupt-enable bit is set. to clear the irq pin the processor program normally reads the c register. the reset pin also clears pending interrupts. when no interrupt conditi ons are present, the irq level is in the high impedance state. multiple interrupting devices can be connected to an irq bus. the irq bus is an open drain output and requires an external pull-up resistor.
DS14285/ds14287 5 of 26 reset (reset input) - the reset pin has no effect on the clock, cal endar, or ram. on power-up the reset pin can be held low for a time in order to allo w the power supply to stabilize. the amount of time that reset is held low is dependent on the application. however, if reset is used on power-up, the time reset is low should exceed 200 ms to make sure th at the internal timer that controls the DS14285/ds14287 on power-up has timed out. when reset is low and v cc is above 4.25 volts, the following occurs: a. periodic interrupt enable (pei) bit is cleared to 0. b. alarm interrupt enable (aie) bit is cleared to 0. c. update ended interrupt flag (uf) bit is cleared to 0. d. interrupt request status fl ag (irqf) bit is cleared to 0. e. periodic interrupt flag (pf) bit is cleared to 0. f. the device is not accessible until reset is returned high. g. alarm interrupt flag (af) bit is cleared to 0. h. irq pin is in the high impedance state. i. square wave output enable ( sqwe ) bit is cleared to 0. j. update ended interrupt enable (uie) is cleared to 0. k. ceo is driven high. in a typical application reset can be connected to v cc . this connection will allow the ds14287 to go in and out of power fail without affec ting any of the control registers. cei (external ram chip enab le input, active low) - cei should be driven low to enable th e external ram. cei is internally pulled up with a 50k ? resistor. ceo (external ram chip enable output, active low) - when v cc is greater than 4.25 volts (typical), ceo will reflect cei provided the reset is at a logic high. when v cc is less than 4.2 5 volts (typical), ceo will be forced to an inactive level regardless of cei . v cco (external ram power supply output) - v cco provides the higher of v cc or v bat through an internal switch to power an external ram. DS14285 only x1, x2 - connections for a standard 32.768 khz quartz crystal. the inte rnal oscillator circuitry is designed for operation with a crysta l having a specified load capacitan ce (cl) of 6 pf. the crystal is connected directly to the x1 and x2 pins. there is no need for external capacitors or resistors. note: x1 and x2 are very high impedance nodes. it is recommended that they and the crystal be guard?ringed with ground and that high frequency signal s be kept away from the crysta l area. for more information on crystal selection and crystal layo ut considerations, please consu lt application note 58, ?crystal considerations with dallas real time clocks.? v bat ? battery input for any standard 3-volt lithium cell or other ener gy source. see the power-up/down section for considerations in selecting the size of the external energy source
DS14285/ds14287 6 of 26 the battery should be conn ected directly to the v bat pin. a diode must not be placed in series with the battery to the vbat pin. furtherm ore, a diode is not necessary because reverse charging current protection circuitry is provided inte rnal to the device and has passed the requirements of underwriters laboratories for ul listing. figure 1. DS14285/ds 14287 block diagram
DS14285/ds14287 7 of 26 power-down/power-up considerations the real time clock function will c ontinue to operate and all of th e ram, time, calendar, and alarm memory locations remain nonvolatile regardless of the level of the v cc input. when v cc is applied to the DS14285/ds14287 and reaches a level of greater than 4.25 volts (typical), the device becomes accessible after 200 ms, provided that th e oscillator is running and the oscillat or countdown chain is not in reset (see register a). this time period allows the system to stabilize after power is applied. when v cc falls below 4.25 volts (typical), the chip select input is internally forced to an inact ive level regardless of the value of cs at the input pin. the DS14285/ds14287 is, theref ore, write-protected. when the DS14285/ds14287 is in a write-protected state, all inputs are ignore d and all outputs are in a high impedance state. when v cc falls below a level of approximately 3 volts, the external v cc supply is switched off and an internal lithium energy source supplies power to the real-time clock and the ram memory. an external sram can be made nonvolatile by using the v cco and sram chip enable pins (see figure 1). nonvolatile control of the external sram is analogous to that of the real time clock registers. when v cc slews down during a power fail, ceo is driven to an inactive level regardless cei . this write protection occurs when v cc is less than 4.25 volts (typical). during power up, when v cc reaches a level of greater than 4.25 volts (typical), ceo will reflect cei after 200 ms. during power-valid operation, the cei input is passed to the ceo output with a propagation delay of less than 10 ns. when v cc is above a level of approximately 3v, the external sram will be powered by v cc through the v cco pin. when v cc is below a level of approximately 3v, th e external sram will be powered by the internal lithium cell through the v cco pin. an internal comparator and switch determine whether v cco is powered by v cc or the internal lithium cell. when the device is in battery backup m ode, the energy source connected to the v bat pin in the case of the DS14285, or the internal lithium cell in the case of the ds14287 can power an external sram for an extended period of time. the amount of time that the li thium cell can supply power to the external sram is a function of the data retention current of the sram. the capacity of the lithium cell that is encapsulated within the ds14287 module is 130 mah. if an sram with a data retention current of less than 1 a is used and the oscillator cu rrent is 300 na (typical ), the cumulative data retention time is calculated at more than 11 years.
DS14285/ds14287 8 of 26 rtc address map the address map of the DS14285/ds14287 is shown in figure 2. the address map consists of 114 bytes of user ram, 10 bytes of ram that contain the rtc time, calendar, and alarm data, and 4 bytes which are used for control and status. al l 128 bytes can be dire ctly written or read except for the following: 1. registers c and d are read-only. 2. bit 7 of register a is read-only. 3. the high order bit of the seconds byte is read-only. the contents of four registers (a,b,c, and d) are described in the ?registers? section. figure 2. DS14285/ ds14287 address map time, calendar and alarm locations the time and calendar information is obtained by r eading the appropriate memory bytes. the time, calendar, and alarm are set or ini tialized by writing the appropriate ra m bytes. the contents of the 10 time, calendar, and alarm bytes can be either binary or binary-coded decimal (bcd) format. before writing the internal time, calendar, and alarm registers, the set bit in register b should be written to a logic 1 to prevent updates from occurring while access is being attempted. in addition to writing the 10 time, calendar, and alarm registers in a selected fo rmat (binary or bcd), the data mode bit (dm) of register b must be set to the appropriate logic level. all 10 time, calendar, a nd alarm bytes must use the same data mode. the set bit in register b should be cleared after the data mode bit has been written to allow the real-time clock to update the time and calendar bytes. on ce initialized, th e real-time clock makes all updates in the se lected mode. the data mode cannot be changed without rein itializing the 10 data bytes. table 1 shows the binary and bcd format s of the ten time, calendar, and alarm locations. the
DS14285/ds14287 9 of 26 24-12 bit cannot be changed without reinitializing the hour locations. when the 12-hour format is selected, the high order bit of the hours byte represents pm when it is a logic one. the time, calendar, and alarm bytes are always accessible because they are double buffered. once per second the 10 bytes are advanced by 1 second and checked for an alarm conditi on. if a read of the time and calendar data occurs during an update, a problem exists where seconds, minut es, hours, etc. may not correlate. the probability of reading incorrect time and calendar data is low. several methods of avoiding any possible incorrect time and calendar reads are c overed later in this text. the three alarm bytes can be used in two ways. first, when the alarm time is written in the appropriate hours, minutes, and seconds alarm locations, the alarm in terrupt is initiated at the specified time each day if the alarm enable bit is high. the second use condition is to insert a ?d on?t care? state in one or more of the 3 alarm bytes. the ?don?t care? c ode is any hexadecimal value from c0 to ff. the 2 most significant bits of each byte set the ?don?t care ? condition when at logic 1. an alarm will be generated each hour when the ?don?t care? bits are set in the hours byte. similarly, an alarm is generated every minute with ?don?t care? codes in the hours and minute alarm bytes. the ?don?t care? codes in all three alarm bytes create an interrupt every second. table 1. time, calendar, and alarm data modes range address location function decimal range binary data mode bcd data mode 0 seconds 0-59 00-3b 00-59 1 seconds alarm 0-59 00-3b 00-59 2 minutes 0-59 00-3b 00-59 3 minutes alarm 0-59 00-3b 00-59 hours-12-hr mode 1-12 01-0c am, 81-8c pm 01-12am, 81-92pm 4 hours-24-hr mode 0-23 00-17 00-23 hours alarm-12-hr 1-12 01-0c am, 81-8c pm 01-12am, 81-92pm 5 hours alarm-24-hr 0-23 00-17 00-23 6 day of the week sunday = 1 1-7 01-07 01-07 7 date of the month 1-31 01-1f 01-31 8 month 1-12 01-0c 01-12 9 year 0-99 00-63 00-99
DS14285/ds14287 10 of 26 control registers the DS14285/ds14287 has four control re gisters that are accessible at a ll times, even during the update cycle. register a msb lsb bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 uip dv2 dv1 dv0 rs3 rs2 rs1 rs0 uip - the update in progress (uip) bit is a status flag that can be monitored. when the uip bit is a 1, the update transfer will soon occur. when uip is a 0, the upd ate transfer will not occur for at least 244 s. the time, calendar, and alarm information in ram is fully available for access when the uip bit is 0. the uip bit is read-only and is not affected by reset . writing the set bit in register b to a 1 inhibits any update transfer and clears the uip status bit. dv0, dv1, dv2 - these 3 bits are used to tu rn the oscillator on or off and to reset the countdown chain. a pattern of 010 is the only combination of bits that will turn the oscillator on and allow the rtc to keep time. a pattern of 11x will enable the oscillator but holds the countdown chain in reset. the next update will occur at 500 ms after a pattern of 010 is written to dv0, dv1, and dv2. rs3, rs2, rs1, rs0 - these four rate-selection bi ts select one of the 13 ta ps on the 15-stage divider or disable the divider output. the tap selected can be used to generate an output s quare wave (sqw pin) and/or a periodic interrupt. the user can do one of the following: 1. enable the interrupt with the pie bit; 2. enable the sqw output pin with the sqwe bit; 3. enable both at the same time and the same rate; or 4. enable neither. table 2 lists the periodic in terrupt rates and the square wave frequencies that can be chosen with the rs bits. these 4 read/write bits are not affected by reset .
DS14285/ds14287 11 of 26 register b msb lsb bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 set pie aie uie sqwe dm 24/12 dse set - when the set bit is a 0, the update transfer functions normally by advancing the counts once per second. when the set bit is written to a 1, any update transfer is inhibited and the program can initialize the time and calendar bytes w ithout an update occurring in the midst of initializing. read cycles can be executed in a similar manner. set is a r ead/write bit that is not modified by reset or internal functions of the DS14285/ds14287. pie - the periodic interrupt enable pie bit is a read/w rite bit which allows the periodic interrupt flag (pf) bit in register c to drive the irq pin low. when the pie bit is se t to 1, periodic interrupts are generated by driving the irq pin low at a rate specif ied by the rs3-rs0 bits of register a. a 0 in the pie bit blocks the irq output from being driven by a periodic inte rrupt, but the periodic flag (pf) bit is still set at the periodic rate. pi e is not modified by any intern al DS14285/ds14287 functions, but is cleared to 0 on reset . aie - the alarm interrupt enable (aie) bit is a read/wri te bit which, when set to a 1, permits the alarm flag (af) bit in register c to assert irq . an alarm interrupt occurs for each second that the 3 time bytes equal the 3 alarm bytes including a ?don?t care? alarm code of binary 11xxxxxx. when the aie bit is set to 0, the af bit does not initiate the irq signal. the reset pin clears aie to 0. the internal functions of the DS14285/ds14287 do not affect the aie bit. uie - the update ended interrupt enable (uie) bit is a read/write that enables the update end flag (uf) bit in register c to assert irq . the reset pin going low or the set bit going high clears to uie bit. sqwe - when the square wave enable (sqwe) bit is se t to a 1, a square wave signal at the frequency set by the rate-selection bits rs3 th rough rs0 is driven out on a sqw pin. when the sqwe bit is set to 0, the sqw pin is held low; the state of sqwe is cleared by the reset pin. sqwe is a read/write bit. dm - the data mode (dm) bit indicates whether time and calendar information is in binary or bcd format. the dm bit is set by the program to the appropria te format and can be read as required. this bit is not modified by internal functions or reset . a one in dm signifies binary data while a 0 in dm specifies binary coded decimal (bcd) data. 24/12 - the 24/12 control bit establishes the format of the hours byte. a 1 indicates the 24-hour mode and a 0 indicates the 12-hour mode. this bit is read/write and is not affected by internal functions of reset . dse - the daylight savings enable (dse) bit is a read /write bit which enables two special updates when dse is set to 1. on the first sunday in april the time increments from 1:59:59 am to 3:00:00 am. on the last sunday in october when the time first reaches 1:59:59 am it changes to 1:00:00 am. these special updates do not occur when th e dse bit is a 0. this bit is not affected by internal functions or reset .
DS14285/ds14287 12 of 26 register c msb lsb bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 irqf pf af uf 0 0 0 0 irqf - the interrupt request flag (irqf) bit is set to a 1 when one or more of the following are true: pf = pie = 1 af = aie = 1 uf = uie = 1 that is, irqf = pf ? pie + af ? aie + uf ? uie. any time the irqf bit is a 1, the irq pin is driven low. all flag bits are cleared after register c is read by the program or when the reset pin is low. pf - the periodic interrupt flag (pf) is a read-only bit which is set to a 1 when an edge is detected on the selected tap of the divider chain. the rs3 through rs0 bits establish the periodic rate. pf is set to a 1 independent of the state of the pie bit. when both pf and pie are 1s, the irq signal is active and will set the irqf bit. the pf bit is cleared by a reset or a software read of register c. af - a 1 in the alarm interrupt flag (af) bit indicates that the current time has matched the alarm time. if the aie bit is also a 1, the irq pin will go low and a one will appear in the irqf bit. a reset or a read of register c will clear af. uf - the update ended interrupt flag (uf) bit is set af ter each update cycle. when the uie bit is set to 1, the 1 in uf causes the irqf bit to be a 1 which will assert the irq pin. uf is cleared by reading register c or a reset . bit 0 through bit 3 - these are unused bits of the status regi ster c. these bits always read 0 and cannot be written. register d msb lsb bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 vrt 0 0 0 0 0 0 0 vrt - the valid ram and time (vrt) b it indicates the condition of the internal battery (the battery connected to the v bat pin in the case of the DS14285s, ds 14285, and the DS14285q). this bit is not writable and should always be a 1 when read. if a 0 is ever present, an exhausted internal lithium energy source is indicated and both the cont ents of the rtc data and ram data are questionable. this bit is unaffected by reset . bit 6 through bit 0 - the remaining bits of register d are not usable. they cannot be written and, when read, they will always read 0.
DS14285/ds14287 13 of 26 nonvolatile ram the 114 general-purpose nonvolatile ram bytes are not dedicated to any special function within the DS14285/ds14287. they can be used by the processor program as nonvolatile memory and are fully available during the update cycle. the DS14285/ds14287 can also provide additional nonvol atile ram. this is accomplished through the use of its internal lith ium cell in the case of the ds14287 (or th e energy source c onnected to the v bat pin in the case of the DS14285) and battery-backup cont roller to make a standa rd cmos sram nonvolatile during power-fail conditions. duri ng power-fail, the DS14285/ds14287 auto matically write -protects the external sram and provides a v cc output sourced from the internal lithium cell. the interface between the DS14285/ds14287 and an external sram is illustrated in figure 3. figure 3. external sram inte rface to the DS14285/ds14287 rtc interrupts the rtc plus ram includes three separate, fully auto matic sources of interrupt for a processor. the alarm interrupt can be programmed to occur at rates from once per second to once per day. the periodic interrupt can be selected for rates from 500 ms to 122 s. the update-ended interrupt can be used to indicate to the program that an upda te cycle is complete. each of thes e independent interrupt conditions is described in greater detail in ot her sections of this text. the processor program can select whic h interrupts, if any, ar e going to be used. thre e bits in register b enable the interrupts. writing a logic 1 to an interrupt-e nable bit permits that interrupt to be initiated when the event occurs. a 0 in an interrupt-enable bit prohibits the irq pin from being asserted from that interrupt condition. if an interrupt flag is already set when an interrupt is enabled, irq is immediately set at an active level, although the interrupt initiating th e event may have occurred much earlier. as a result, there are cases where the program should clear such earlier initiated interrupts before first enabling new interrupts. when an interrupt event occurs, the relating flag bit is set to logic 1 in register c. these flag bits are set independent of the state of the corresponding enable bit in regi ster b. the flag bit can be used in a polling mode without enabling the corresponding enab le bits. the interrupt flag bit is a status bit which software can interrogate as necessary. when a flag is set, an indication is given to software that an interrupt event has occurred since the flag bit was la st read; however, care should be taken when using the
DS14285/ds14287 14 of 26 flag bits as they are cleared each time register c is read. double latching is included with register c so that bits which are set re main stable throughout the read cycle. a ll bits which are set (high) are cleared when read and new interrupts which are pending during the read cycle are held until after the cycle is completed. one, 2, or 3 bits can be set when readi ng register c. each utilized flag bit should be examined when read to ensure that no interrupts are lost. the second flag bit usage method is w ith fully enabled interrupts. when an interrupt flag bit is set and the corresponding interrupt enable bit is also set, the irq pin is asserted low. irq is asserted as long as at least one of the three interrupt sources has its flag and enable bits both set. the irqf bit in register c is a one whenever the irq pin is being driven low. determination that the rtc initiated an interrupt is accomplished by reading register c. a logic one in bit 7 (irqf bit) indi cates that one or more interrupts have been initiated by the DS14285/ds 14287. the act of reading register c clears all active flag bits and the irqf bit. periodic interrupt selection the periodic interrupt will cause the irq pin to go to an active stat e from once every 500 ms to once every 122 s. this function is separate from the alar m interrupt which can be output from once per second to once per day. the periodic in terrupt rate is selected using the same register a bits which select the square wave frequency (see table 2). changing th e register a bits affects both the square wave frequency and the periodic interrupt output. however, each function has a separate enable bit in register b. the sqwe bit controls the square wave output. sim ilarly, the periodic interrupt is enabled by the pie bit in register b. the periodic interrupt can be us ed with software counters to measure inputs, create output intervals, or await the next needed software function. oscillator control bits when the ds14287 is shipped from the f actory, the internal osc illator is turned off. this feature prevents the lithium energy cell from being used until it is installed in a system. a pattern of 010 in bits 4 through 6 of register a will turn the oscillator on and enable the countdown chain. a pattern of 11x will turn the oscillator on, but holds the countdown chain of the osci llator in reset. all othe r combinations of bits 4 through 6 keep the oscillator off. square-wave outp ut selection thirteen of the 15 divider taps are made available to a 1-of-15 selector, as shown in the block diagram of figure 1. the first purpose of selecting a divider tap is to generate a square wave output signal on the sqw pin. the rs0-rs3 bits in register a establish th e square wave output fre quency. these frequencies are listed in table 2. the sqw freque ncy selection shares its 1-of-15 se lector with the periodic interrupt generator. once the frequency is selected, the output of the sqw pin can be turned on and off under program control with the square wave enable bit (sqwe).
DS14285/ds14287 15 of 26 table 2. periodic interrupt rate and square-wave output frequency select bits register a rs3 rs2 rs1 rs0 t pi periodic interrupt rate sqw output frequency 0 0 0 0 none none 0 0 0 1 3.90625ms 256hz 0 0 1 0 7.8125ms 128hz 0 0 1 1 122.070 s 8.192khz 0 1 0 0 244.141 s 4.096khz 0 1 0 1 488.281 s 2.048khz 0 1 1 0 976.5625 s 1.024khz 0 1 1 1 1.953125ms 512hz 1 0 0 0 3.90625ms 256hz 1 0 0 1 7.8125ms 128hz 1 0 1 0 15.625ms 64hz 1 0 1 1 31.25ms 32hz 1 1 0 0 62.5ms 16hz 1 1 0 1 125ms 8hz 1 1 1 0 250ms 4hz 1 1 1 1 500ms 2hz update cycle the DS14285/ds14287 executes an update cycle once per s econd regardless of the set bit in register b. when the set bit in register b is set to one, the user copy of the double buffered time, calendar, and alarm bytes is frozen and will not update as the time increments. however, the time countdown chain continues to update the internal co py of the buffer. this feature a llows time to maintain accuracy independent of reading or writing the time, calendar, and alarm buffers and also guarantees that time and calendar information is consistent. the update cycle also compares each alarm byte with the corresponding time byte and issues an al arm if a match or if a ?don?t ca re? code is present in all three positions. there are three methods that can handle access of th e real-time clock that av oid any possibility of accessing inconsistent time and calendar data. the first method uses the update-ended interrupt. if enabled, an interrupt occurs after every up date cycle th at indicates that over 999 ms are available to read valid time and date information. if this interrupt is used, the irqf bit in re gister c should be cleared before leaving the interrupt routine. a second method uses the update-in-progr ess bit (uip) in register a to de termine if the upda te cycle is in progress. the uip bit will pulse once per second. afte r the uip bit goes high, the update transfer occurs 244 s later. if a low is read on the ui p bit, the user has at least 244 s before the time/calendar data will be changed. therefore, the user s hould avoid interrupt serv ice routines that would cause the time needed to read valid time/calendar data to exceed 244 s. the third method uses a periodic inte rrupt to determine if an update cycl e is in progress. the uip bit in register a is set high between the setting of the pf bit in register c (see fi gure 4). periodic interrupts that occur at a rate of greater than t buc allow valid time and date information to be reached at each occurrence of the periodic interrupt. th e reads should be complete within 1 (t pi/ 2 + t buc ) to ensure that data is not read during the update cycle.
DS14285/ds14287 16 of 26 figure 4. update-ended and pe riodic interrupt relationship
DS14285/ds14287 17 of 26 absolute maxi mum ratings voltage range on any pin relative to ground?????????????????..-0.5v to +7.0v storage temperature range????????????????????????...-40c to +85c soldering temperature: dip????????????????..260 c for 10 seconds (see note 12) soldering temperature: surface mount: ???????????.see ipc/jedec standard j-std-020 this is a stress rating only and functional ope ration of the device at these or any ot her conditions above those indicated in t he operation sections of this specification is not implied. exposure to absolute maximum ra ting conditions for extended periods of time may affect reliability. operating range range temperature v cc commercial 0c to +70c 5v 10% industrial -40c to +85c 5v 10% recommended dc oper ating conditions (over the operating range) parameter symbol min typ max units notes power-supply voltage v cc 4.5 5.0 5.5 v 1 battery voltage v bat 2.5 3.6 v 1 input logic 1 v ih 2.2 v cc + 0.3 v 1 input logic 0 v il -0.3 +0.8 v 1 dc electrical characteristics (over the operating range) parameter symbol min typ max units notes power supply current i cc1 7 15 ma 2 oscillator current i osc 300 500 na input leakage i il -1.0 +1.0 a 3 i/o leakage i lo -1.0 +1.0 a 5 mot input current i mot -1.0 +500 a 3 cei input current i cei -1.0 +200 a 4 cei to ceo impedance z ce 60 ? 11 output at 2.4v i oh -1.0 ma 1, 6 output at 0.4v i ol 4.0 ma 1 write-protect voltage v tp 4.0 4.25 4.5 v v cco1 v cc - 0.3v 7 v cco voltage v cco2 v bat - 0.3v v 8 capacitance (t a = +25 c) parameter symbol min typ max units notes input capacitance c in 5 pf output capacitance c out 7 pf
DS14285/ds14287 18 of 26 ac electrical characteristics (over the operating range) parameter symbol min typ max units notes cycle t cyc 225 dc ns pulse width, ds/e low or rd/ wr high pw el 115 ns pulse width, ds/e low or rd/ wr low pw eh 80 ns input rise and fall time t r , t f 30 ns r/ w hold time t rwh 10 ns r/ w setup time before ds/e t rws 10 ns chip select setup time before ds, wr , or rd t cs 20 ns chip select hold time t ch 0 ns read data hold time t dhr 10 50 ns write data hold time t dhw 0 ns muxed address valid time to as/ale fall t asl 30 ns muxed address hold time t ahl 10 ns delay time ds/e to as/ale rise t asd 20 ns pulse width as/ale high pw ash 60 ns delay time, as/ale to ds/e rise t ased 35 ns output data delay time from ds/e or rd t ddr 10 75 ns 9 data setup time t dsw 60 ns reset pulse width t rwl 5 s irq release from ds t irds 2 s irq release from reset t irr 2 s ac test conditions input pulse level: 0 to 3.0v input rise/fall times: 5ns input and output timing reference levels: 1.5v
DS14285/ds14287 19 of 26 figure 5. output load DS14285 bus timing for motorola interface
DS14285/ds14287 20 of 26 DS14285/ds14287 bus timing for in tel interface write cycle
DS14285/ds14287 21 of 26 DS14285/ds14287 bus timing for in tel interface read cycle DS14285/ds14287 irq release delay timing
DS14285/ds14287 22 of 26 power-down/power-up timing power-down/power-up timing parameter symbol min typ max units notes cs at v ih before power-down t pd 0 s v cc slew from 4.5v to 0v ( cs at v ih ) t f 300 s v cc slew from 0v to 4.5v ( cs at v ih ) t r 100 s cs at v ih after power-up t rec 20 200 ms chip-enable propagation delay to external sram t ced 10 ns (t a = +25 c) parameter symbol min typ max units notes expected data retention for ds14287 t dr 10 years 10 note: the rtc keeps time to an accura cy of +1 minute per month during data retention time for the period of t dr . warning: under no circumstances are negative undershoots, of any amplitude, allowed when device is in battery-backup mode.
DS14285/ds14287 23 of 26 notes: 1) all voltages are referenced to ground. 2) all outputs are open. 3) the mot pin has an internal pulldown of 20k ? . 4) the cei pin has an internal pullup of 50k ? . 5) applies to the ad0?ad7 pins, the irq pin, and the sqw pin when each is in the high impedance state. 6) the irq pin is open drain. the interrupt and the internal clock continue to run regardle ss of the level of vcc. however, it is important to insure that the pullup resistor us ed with the interrupt pin is never pulled up to a value which is greater than v cc + 0.3v. as vcc falls belo w approximately 3.0 volts, a power switching circuit turns the lithium energy source on to maintain the clock and timer data functionality. 7) i cco = 100ma, v cc > v bat . 8) i cco = 100 a, v cc < v bat . 9) measured with a load as shown in figure 5. 10) expected data retention is based on using an extern al sram with a data rete ntion current of less than 1 a at +25 c. 11) z ce is an average input-to-output impedance as the input is swept from ground to v cci and less than 4ma is forced through z ce . 12) real-time clock modules such as the ds14287 can be successfully proce ssed through conventional wave-soldering techniques as l ong as temperature exposure to th e lithium energy source contained within does not exceed +85 c. post-solder cleaning with water washing techniques is acceptable, provided that ultrasonic vibration is not used.
DS14285/ds14287 24 of 26 package information (the package drawing(s) in this data sheet may not reflect t he most current specifications . for the latest package outline information, go to www.maxim-ic.com/dallaspackinfo .) DS14285 24-pin dip pkg 24-pin dim min max a in. mm 1.245 31.62 1.270 32.25 b in. mm 0.530 13.46 0.550 13.97 c in. mm 0.140 3.56 0.160 4.06 d in. mm 0.600 15.24 0.625 15.88 e in. mm 0.015 0.380 0.050 1.27 f in. mm 0.120 3.05 0.145 3.68 g in. mm 0.090 2.29 0.110 2.79 h in. mm 0.625 15.88 0.675 17.15 j in. mm 0.008 0.20 0.012 0.30 k in. mm 0.015 0.38 0.022 0.56 DS14285 24-pin so pkg 24-pin dim min max a in. mm 0.602 15.29 0.612 15.54 b in. mm 0.290 7.37 0.300 7.65 c in. mm 0.089 2.26 0.095 2.41 e in. mm 0.004 0.102 0.012 0.30 f in. mm 0.094 2.38 0.105 2.68 g in. mm 0.050 bsc 1.27 bsc h in. mm 0.398 10.11 0.416 10.57 j in. mm 0.009 0.229 0.013 0.33 k in. mm 0.013 0.33 0.019 0.48 l in. mm 0.016 0.406 0.040 1.02 phi 0 8
DS14285/ds14287 25 of 26 package information (continued) (the package drawing(s) in this data sheet may not reflect t he most current specifications . for the latest package outline information, go to www.maxim-ic.com/dallaspackinfo .) DS14285q 28-pin plcc pkg 28-pin dim min max a 0.165 0.180 a1 0.090 0.120 a2 0.020 - b 0.026 0.033 b1 0.013 0.021 c 0.009 0.012 d 0.485 0.495 d1 0.450 0.456 d2 0.390 0.430 e 0.485 0.495 e1 0.450 0.456 e2 0.390 0.430 l1 0.060 - n 28 - e1 0.050 bsc ch1 0.042 0.048
DS14285/ds14287 26 of 26 maxim/dallas semiconductor cannot assume res ponsibility for use of any circuitry other than circuitry entirely embodied in a ma xim/dallas semiconductor product. no circuit patent licenses are implied. maxi m/dallas semiconductor reserves the right to change the circuitry and specification s without notice at any time. maxim integrated products, 120 san gabriel drive, sunnyvale, ca 94086 408-737-7600 ? 2005 maxim integrated products ? printed usa the maxim logo is a registered trademark of maxim integrated produ cts, inc. the dallas logo is a registered trademark of dallas semiconductor corporation. package information (continued) (the package drawing(s) in this data sheet may not reflect t he most current specifications . for the latest package outline information, go to www.maxim-ic.com/dallaspackinfo .) ds14287 real-time clock plus ram pkg 24-pin dim min max a in. mm 1.320 33.53 1.335 33.91 b in. mm 0.720 18.29 0.740 18.80 c in. mm 0.345 8.76 0.370 9.40 d in. mm 0.100 2.54 0.130 3.30 e in. mm 0.015 0.38 0.030 0.76 f in. mm 0.110 2.79 0.140 3.56 g in. mm 0.090 2.29 0.110 2.79 h in. mm 0.590 14.99 0.630 16.00 j in. mm 0.008 0.20 0.012 0.30 k in. mm 0.015 0.38 0.021 0.53 note: pins 2, 3, 16, and 20 are missing by design.


▲Up To Search▲   

 
Price & Availability of DS14285

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X